package com.tbs.easyhomemoneyserver;

import cn.hutool.extra.spring.EnableSpringUtil;
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication

@EnableTransactionManagement
@ServletComponentScan("com.tbs.easyhomemoneyserver.config.filters")
@EnableWebMvc
@EnableKnife4j //启动swagger
@EnableCaching //启动缓存
@EnableSpringUtil //启动工具
public class EasyHomeMoneyServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(EasyHomeMoneyServerApplication.class, args);
	}

}
